import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [uni()],
  server:{
    port:3000,
    https:false,
    open:true,
    proxy: {
      '/adminapi': {
        target: 'http://localhost:3000',
        changeOrigin: true,
        
      }
    }
  }
});
